package com.authority.vo;

import java.util.Date;
import java.util.List;

public class AuthMenuVO {
	/**
	 * 主键
	 */
	private Long id;

	/**
	 * 创建时间
	 */
	private Date gmtCreate;

	/**
	 * 修改时间
	 */
	private Date gmtModified;

	/**
	 * 名称
	 */
	private String name;

	/**
	 * 代码（唯一）
	 */
	private String code;

	/**
	 * 资源url(只有叶子节点有url)
	 */
	private String url;

	/**
	 * 父菜单id，Default=0
	 */
	private Long parentId;
	
	/**
	 * 父节点名称
	 */
	private String parentName;

	/**
	 * 状态（1=正常；0=注销）
	 */
	private Integer status;
	
	private String statusText;
	
	
	private List<IdNameVO> actions;
	
	/**
	 * 功能列表名称
	 */
	private String actionNames;

	/**
	 * 操作人id
	 */
	private Long operatorId;
	
	/**
	 * 操作人
	 */
	private String operator;

	
	/**
	 * 顺序号
	 */
	private Integer num;
	
	/**
	 * 系统id
	 */
	private Long sysId;
	
	/**
	 * 是否叶子
	 */
	private Integer isLeaf;
	/**
	 * 1-菜单权限 2-按钮权限
	 */
	private Integer menutype;
	/**
	 * 菜单图标
	 */
	private String icon;
	
	private String ids;
	

	public Integer getIsLeaf() {
		return isLeaf;
	}

	public void setIsLeaf(Integer isLeaf) {
		this.isLeaf = isLeaf;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModified() {
		return gmtModified;
	}

	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getActionNames() {
		return actionNames;
	}

	public void setActionNames(String actionNames) {
		this.actionNames = actionNames;
	}

	public Long getOperatorId() {
		return operatorId;
	}

	public void setOperatorId(Long operatorId) {
		this.operatorId = operatorId;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public Long getSysId() {
		return sysId;
	}

	public void setSysId(Long sysId) {
		this.sysId = sysId;
	}

	public String getStatusText() {
		return statusText;
	}

	public void setStatusText(String statusText) {
		this.statusText = statusText;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public void setActions(List<IdNameVO> actions) {
		this.actions = actions;
	}

	public List<IdNameVO> getActions() {
		return actions;
	}

	public Integer getMenutype() {
		return menutype;
	}

	public void setMenutype(Integer menutype) {
		this.menutype = menutype;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getIds() {
		return ids;
	}

	public void setIds(String ids) {
		this.ids = ids;
	}
	
}